﻿@{
    Layout = null;
}

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>后台管理</title>

    <!-- Bootstrap framework -->
    <link rel="stylesheet" href="/bootstrap/css/bootstrap.min.css" />
    <!-- jQuery UI theme -->
    <link rel="stylesheet" href="/lib/jquery-ui/css/Aristo/Aristo.css" />
    <!-- tooltips-->
    <link rel="stylesheet" href="/lib/jBreadcrumbs/css/BreadCrumb.css" />
    <!-- tooltips-->
    <link rel="stylesheet" href="/lib/qtip2/jquery.qtip.min.css" />
    <!-- colorbox -->
    <link rel="stylesheet" href="/lib/colorbox/colorbox.css" />
    <!-- code prettify -->
    <link rel="stylesheet" href="/lib/google-code-prettify/prettify.css" />
    <!-- sticky notifications -->
    <link rel="stylesheet" href="/lib/sticky/sticky.css" />
    <!-- aditional icons -->
    <link rel="stylesheet" href="/img/splashy/splashy.css" />
    <!-- flags -->
    <link rel="stylesheet" href="/img/flags/flags.css" />
    <!-- datatables -->
    <link rel="stylesheet" href="/lib/datatables/extras/TableTools/media/css/TableTools.css">

    <!-- calendar -->
    <link rel="stylesheet" href="/lib/fullcalendar/fullcalendar_gebo.css" />

    <!-- main styles -->
    <link rel="stylesheet" href="/css/style.css" />
    <!-- theme color-->
    <link rel="stylesheet" href="/css/blue.css" id="link_theme" />

    <!--             <link href='http://fonts.googleapis.com/css?family=PT+Sans' rel='stylesheet' type='text/css'> -->
    <!-- favicon -->
    <link rel="shortcut icon" href="favicon.ico" />

    <!--[if lte IE 8]>
        <link rel="stylesheet" href="css/ie.css" />
    <![endif]-->
    <!--[if lt IE 9]>
        <script src="/js/ie/html5.js"></script>
        <script src="/js/ie/respond.min.js"></script>
        <script src="/lib/flot/excanvas.min.js"></script>
    <![endif]-->


</head>
<body class="full_width">


    <div class="modal fade" id="myPopup">
        <div class="modal-dialog" style="width: 700px;">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                    <h3 class="modal-title" id="poptxt">新增IP白名单</h3>
                </div>
                <div class="modal-body" style="padding-bottom: 0px;">
                    <div class="alert alert-info">请填写正确的IP地址</div>
                    <iframe src="@Url.Action("IPadd", "IPWhiteList")" width="600px" height="300px" frameborder="0" scrolling="no" id="popContent" name="popContent"></iframe>
                </div>
                <div class="modal-footer dialog-buttons" style="text-align: center;">
                    <button type="button" class="btn btn-success" onclick=" popContent.save();">保存</button>
                    <button type="button" class="btn btn-info center" data-dismiss="modal">取消</button>
                </div>
            </div>
        </div>
    </div>
    <div class="style_switcher">
        <div class="sepH_c">
            <p>主题颜色:</p>
            <div class="clearfix">
                <a href="javascript:void(0)" class="style_item jQclr blue_theme style_active" title="blue">蓝色</a>
                <a href="javascript:void(0)" class="style_item jQclr dark_theme" title="dark">暗色</a>
                <a href="javascript:void(0)" class="style_item jQclr green_theme" title="green">绿色</a>
                <a href="javascript:void(0)" class="style_item jQclr brown_theme" title="brown">棕色</a>
                <a href="javascript:void(0)" class="style_item jQclr eastern_blue_theme" title="eastern_blue">青色</a>
                <a href="javascript:void(0)" class="style_item jQclr tamarillo_theme" title="tamarillo">红色</a>
            </div>
        </div>
        <div class="sepH_c">
            <p>背景:</p>
            <div class="clearfix">
                <span class="style_item jQptrn style_active ptrn_def" title=""></span>
                <span class="ssw_ptrn_a style_item jQptrn" title="ptrn_a"></span>
                <span class="ssw_ptrn_b style_item jQptrn" title="ptrn_b"></span>
                <span class="ssw_ptrn_c style_item jQptrn" title="ptrn_c"></span>
                <span class="ssw_ptrn_d style_item jQptrn" title="ptrn_d"></span>
                <span class="ssw_ptrn_e style_item jQptrn" title="ptrn_e"></span>
            </div>
        </div>
        <div class="sepH_c">
            <p>布局:</p>
            <div class="clearfix">
                <label class="radio-inline"><input name="ssw_layout" id="ssw_layout_fluid" value="" checked="" type="radio"> 全尺寸</label>
                <label class="radio-inline"><input name="ssw_layout" id="ssw_layout_fixed" value="gebo-fixed" type="radio"> 固定位置</label>
            </div>
        </div>
        <div class="sepH_c">
            <p>侧边栏位置:</p>
            <div class="clearfix">
                <label class="radio-inline"><input name="ssw_sidebar" id="ssw_sidebar_left" value="" checked="" type="radio"> 左</label>
                <label class="radio-inline"><input name="ssw_sidebar" id="ssw_sidebar_right" value="sidebar_right" type="radio">右</label>
            </div>
        </div>
        <div class="sepH_c">
            <p>显示菜单:</p>
            <div class="clearfix">
                <label class="radio-inline"><input name="ssw_menu" id="ssw_menu_click" value="" checked="" type="radio"> 点击</label>
                <label class="radio-inline"><input name="ssw_menu" id="ssw_menu_hover" value="menu_hover" type="radio"> 悬停</label>
            </div>
        </div>

        <div class="gh_button-group">
            <a href="#" id="showCss" class="btn btn-primary btn-sm">显示样式</a>
            <a href="#" id="resetDefault" class="btn btn-default btn-sm">重置</a>
        </div>
        <div class="hide">
            <ul id="ssw_styles">
                <li class="small ssw_mbColor sepH_a" style="display:none">body {<span class="ssw_mColor sepH_a" style="display:none"> color: #<span></span>;</span> <span class="ssw_bColor" style="display:none">background-color: #<span></span> </span>}</li>
                <li class="small ssw_lColor sepH_a" style="display:none">a { color: #<span></span> }</li>
            </ul>
        </div>
    </div>

    <div id="maincontainer" class="clearfix">
      @Html.Partial("Top")


        <div id="contentwrapper">
            <div class="main_content">

                <iframe id="iframe1" name="iframe1" frameborder="0" scrolling="no" src="@Url.Action("Index", "dashboard")" width="100%" height="100%"></iframe>
            </div>

        </div>
        @Html.Partial("Left")
        <script src="/Scripts/jquery.min.js"></script>
        <script src="/Scripts/jquery-migrate.min.js"></script>
        <script src="/lib/jquery-ui/jquery-ui-1.10.0.custom.min.js"></script>
        <!-- touch events for jquery ui-->
        <script src="/Scripts/forms/jquery.ui.touch-punch.min.js"></script>
        <!-- easing plugin -->
        <script src="/Scripts/jquery.easing.1.3.min.js"></script>
        <!-- smart resize event -->
        <script src="/Scripts/jquery.debouncedresize.min.js"></script>
        <!-- js cookie plugin -->
        <script src="/Scripts/jquery_cookie_min.js"></script>
        <!-- main bootstrap js -->
        <script src="/bootstrap/js/bootstrap.min.js"></script>
        <!-- bootstrap plugins -->
        <script src="/Scripts/bootstrap.plugins.min.js"></script>
        <!-- typeahead -->
        <script src="/lib/typeahead/typeahead.min.js"></script>
        <!-- code prettifier -->
        <script src="/lib/google-code-prettify/prettify.min.js"></script>
        <!-- sticky messages -->
        <script src="/lib/sticky/sticky.min.js"></script>
        <!-- tooltips -->
        <script src="/lib/qtip2/jquery.qtip.min.js"></script>
        <!-- lightbox -->
        <script src="/lib/colorbox/jquery.colorbox.min.js"></script>
        <!-- jBreadcrumbs -->
        <script src="/lib/jBreadcrumbs/js/jquery.jBreadCrumb.1.1.min.js"></script>
        <!-- hidden elements width/height -->
        <script src="/Scripts/jquery.actual.min.js"></script>
        <!-- custom scrollbar -->
        <script src="/lib/slimScroll/jquery.slimscroll.js"></script>
        <!-- fix for ios orientation change -->
        <script src="/Scripts/ios-orientationchange-fix.js"></script>
        <!-- to top -->
        <script src="/lib/UItoTop/jquery.ui.totop.min.js"></script>
        <!-- mobile nav -->
        <script src="/Scripts/selectNav.js"></script>

        <!-- common functions -->
        <script src="/Scripts/gebo_common.js"></script>

        <!-- multi-column layout -->
        <script src="/Scripts/jquery.imagesloaded.min.js"></script>
        <script src="/Scripts/jquery.wookmark.js"></script>
        <!-- responsive table -->
        <script src="/Scripts/jquery.mediaTable.min.js"></script>
        <!-- small charts -->
        <script src="/Scripts/jquery.peity.min.js"></script>
        <!-- charts -->
        <script src="/lib/flot/jquery.flot.min.js"></script>
        <script src="/lib/flot/jquery.flot.resize.min.js"></script>
        <script src="/lib/flot/jquery.flot.pie.min.js"></script>
        <!-- calendar -->
        <script src="/lib/fullcalendar/fullcalendar.min.js"></script>
        <!-- sortable/filterable list -->
        <script src="/lib/list_js/list.min.js"></script>
        <script src="/lib/list_js/plugins/paging/list.paging.min.js"></script>
        <!-- dashboard functions -->
        @*<script src="/Scripts/gebo_dashboard.js"></script>*@



        <script>
            $(document).ready(function () {
                //* jQuery.browser.mobile (http://detectmobilebrowser.com/)
                //* jQuery.browser.mobile will be true if the browser is a mobile device
                (function (a) { jQuery.browser.mobile = /android.+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(a) || /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|e\-|e\/|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(di|rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|xda(\-|2|g)|yas\-|your|zeto|zte\-/i.test(a.substr(0, 4)) })(navigator.userAgent || navigator.vendor || window.opera);
                //replace themeforest iframe
                if (jQuery.browser.mobile) {
                    if (top !== self) top.location.href = self.location.href;
                }
                //$(".hreflink").bind("click",(function () {

                //    var linka = $(this).attr('href');
                //    $("#iframe1").attr("src", linka);
                //}));
            });
        </script>

        <script type="text/javascript">
            function codeOK() {

                $("#myPopup").modal('hide');
                iframe1.window.location.reload();
             
            }
            var _gaq = _gaq || [];
            _gaq.push(['_setAccount', 'UA-32339645-1']);
            _gaq.push(['_trackPageview']);

            (function () {
                var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
                ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
                var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
            })();

        </script>

    </div>
</body>




</html>